package com.rran.study.designpattern.structural.bridge;

/**
 * @author yy
 * @Type SmallPen.java
 * @Desc
 * @date 2020/7/27 10:18
 */
public class SmallPen extends AbstractPen {

    public SmallPen(Color color) {
        super(color);
    }

    @Override
    public void paint() {
        System.out.print("小号毛笔");
        color.getColor();
    }
}
